import request from '@/utils/request'
export default {
    list() {
        return request.post('/room/list')
    },
    add(data) {
        return request.post('/room/add', data)
    },
    edit(data) {
        return request.post('/room/edit', data)
    },
    delete(id) {
        return request.post('/room/delete', { id })
    }
}
